import Vue from 'vue';
import App from './App.vue';
import router from '@/router';
import store from '@/store';
import '@/polyfill/polyfill';
import '@/styles/reset.css';
import 'nprogress/nprogress.css';
import '@/styles/custom-nprogress.less';
import 'virtual:windi.css';
import 'virtual:svg-icons-register';
import SvgIcon from '@/components/SvgIcon/index.vue';

// 关闭生产提示
Vue.config.productionTip = false;

// 全局注册组件
Vue.component('SvgIcon', SvgIcon);

new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount('#app');
